package com.ds.infra.ibatis.transaction;

import javax.sql.DataSource;

public interface TransactionFactory {
    Transaction newTransaction(DataSource dataSource);

    Transaction newTransaction(DataSource dataSource, TransactionIsolationLevel level);
}
